c programming questions in gate